<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<table width="100%" border="0" cellpadding="0" cellspacing="1" id='ftable'
     style="word-break: break-all; word-wrap: break-word"
      class="t_css table01">
      <tr>
      	<td class="t_bar2"><span class="color_red">*</span>平台在国家和安徽省的地位和作用，以及历次验收和考核评估结果（限300字）</td>
      </tr>
      <tr>
      	<td>
      	<textarea name="proposal/base_info" rows="8" style="width:98%"
	        	class="input_textarea required maxlength:300"  label="平台在国家和安徽省的地位和作用，以及历次验收和考核评估结果" ><x:out select="$xmlData/data/proposal/base_info"/></textarea>
		     <input type="hidden" name="proposal/base_info_hidden" value="" />
      	</td>
      </tr>
      </table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" id='ftable11'
     style="word-break: break-all; word-wrap: break-word"
      class="t_css table01">
      <tr>
      	<td class="t_bar2"><span class="color_red">*</span>主要研究方向及内容（限4项）（限300字）</td>
      </tr>
      <tr>
      	<td>
      	<textarea name="proposal/research_direction" rows="8" style="width:98%"
	        	class="input_textarea required maxlength:300"  label="主要研究方向及内容" ><x:out select="$xmlData/data/proposal/research_direction"/></textarea>
		     <input type="hidden" name="proposal/research_direction_hidden" value="" />
      	</td>
      </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="1" id='ftabl'
     style="word-break: break-all; word-wrap: break-word"
      class="t_css table01">
      <tr>
      	<td class="t_bar2"><span class="color_red">*</span>组织架构、运行机制及管理制度（限500字）</td>
      </tr>
      <tr>
      	<td>
      	<textarea name="proposal/management_system" rows="12" style="width:98%"
	        	class="input_textarea required maxlength:500"  label="组织架构、运行机制及管理制度" ><x:out select="$xmlData/data/proposal/management_system"/></textarea>
		     <input type="hidden" name="proposal/management_system_hidden" value="" />
      	</td>
      </tr>
      </table>
<div class="t_bar2" style="height: 30px; margin-bottom: -10px; padding-top: 5px; text-align: left;"><span class="color_red">*</span>管理委员会成员</div>
<table class="t_css  table01" width="100%" border="0" cellpadding="0" id="committee"cellspacing="1">
		<col style="width: 5%" />
		<col style="width: 5%" />
		<col style="width: 15%" />
		<col style="width: 20%" />
		<col style="width: 15%" />
		<col style="width: 40%" />
		<thead>
			<tr>
				<th>选择</th>
				<th>序号</th>
				<th>姓名</th>
				<th>管理委员会职务</th>
				<th>职称</th>
				<th>所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
		<tr style="display: none" align="center">
			<td align="center"><input type="radio" class="radiobutton" 
				name="selfund_committee"></td>
			<td align="center"><span name="committees|committee[0]@seq_no">[index]</span>
			</td>
			<td align="center"><input 
				name="committees|committee[0]|name" label="姓名" value=""
				class="required input_text" style="width: 90%;" maxlength="100" /></td>
				<td align="center">
			<input name="committees|committee[0]|post" label="管理委员会职务" value=""
				class="required input_text" style="width: 90%;" maxlength="100" />
			</td>
			<td align="center">
			<cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="" label="职称"  width="65%"
			    id="prof_title_[index]gl" name="prof_title2" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
				<input type="hidden" name="committees|committee[0]|prof_title_value" class="required" label="职称" value=""/>
			    <input type="hidden" name="committees|committee[0]|prof_title_name" value=""/>
			</td>
			<td align="center">
			<input name="committees|committee[0]|company" label="所在单位" value=""
				class="required input_text" style="width: 90%;" maxlength="100" />
			</td>
		</tr>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/committees/committee" var="committee">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr align="center">
				<td><input type="radio" class="radiobutton" name="selfund_committee"></td>
				<td align="center"><span name="committees/committee[${flag}${index}]@seq_no"><x:out select="$committee/@seq_no" /></span></td>
				<td><input id="name_[${flag}${index}]" value="<x:out select="$committee/name"/>"label="姓名" name="committees/committee[${flag}${index}]/name" maxlength="100" class="required input_text" style="width: 90%" /></td>
				<td><input id="post_[${flag}${index}]" value="<x:out select="$committee/post"/>"label="管理委员会职务" name="committees/committee[${flag}${index}]/post" maxlength="100" class="required input_text" style="width: 90%" /></td>
				<td>
					  <c:set var="prof_title">{'id':'<x:out select="$committee/prof_title_value" />','name':'<x:out select="$committee/prof_title_name" />'}</c:set>
			       <cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="${prof_title}" label="职称"  width="65%"
			       id="prof_title_${flag}${index}gl" name="prof_title2" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
				  <input type="hidden" name="committees/committee[${flag}${index}]/prof_title_value" class="required" label="职称" value="<x:out select="$committee/prof_title_value" />"/>
			      <input type="hidden" name="committees/committee[${flag}${index}]/prof_title_name" value="<x:out select="$committee/prof_title_name" />"/>
				</td>
				<td><input id="company_[${flag}${index}]"value="<x:out select="$committee/company"/>"label="所在单位" name="committees/committee[${flag}${index}]/company" class="required input_text" maxlength="100" style="width: 90%;" /></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("committee");
		</script>
	</tbody>
</table>
<table width="100%" align="center">
	<tr>
		<td>
		<input class="button" name="cmdAddbefore" type=button
			value="添加"
			onclick="if(checkTabLimit('committee','99','最多只能添加99条管理委员会成员信息')){addNewRow('committee');showDateTag('committee');}try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('committee','selfund_committee')"> 
			<input class="button" name="cmdMoveNext" type=button value="下移"onclick="moveNext('committee','selfund_committee')"> 
			<input class="button" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('committee','管理委员会成员信息');"></td>
	</tr>
</table>
<div class="t_bar2" style="height: 30px; margin-bottom: -10px; padding-top: 5px; text-align: left;"><span class="color_red">*</span>学术（工程技术）委员会成员</div>
<table class="t_css  table01" width="100%" border="0" cellpadding="0" id="learning"cellspacing="1">
		<col style="width: 5%" />
		<col style="width: 5%" />
		<col style="width: 15%" />
		<col style="width: 20%" />
		<col style="width: 15%" />
		<col style="width: 40%" />
		<thead>
			<tr>
				<th>选择</th>
				<th>序号</th>
				<th>姓名</th>
				<th>委员会职务</th>
				<th>职称</th>
				<th>所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
		<tr style="display: none" align="center">
			<td align="center"><input type="radio" class="radiobutton" 
				name="selfund_learning"></td>
			<td align="center"><span name="learnings|learning[0]@seq_no">[index]</span>
			</td>
			<td align="center"><input 
				name="learnings|learning[0]|name" label="姓名" value=""
				class="required input_text" style="width: 90%;" maxlength="100" /></td>
				<td align="center">
			<input name="learnings|learning[0]|post" label="委员会职务" value=""
				class="required input_text" style="width: 90%;" maxlength="100" />
			</td>
			<td align="center">
			<cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="" label="职称"  width="65%"
			    id="prof_title_[index]xs" name="prof_title1" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
				<input type="hidden" name="learnings|learning[0]|prof_title_value" class="required" label="职称" value=""/>
			    <input type="hidden" name="learnings|learning[0]|prof_title_name" value=""/>
			</td>
			<td align="center">
			<input name="learnings|learning[0]|company" label="所在单位" value=""
				class="required input_text" style="width: 90%;" maxlength="100" />
			</td>
		</tr>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/learnings/learning" var="learning">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr align="center">
				<td><input type="radio" class="radiobutton" name="selfund_learning"></td>
				<td align="center"><span name="learnings/learning[${flag}${index}]@seq_no"><x:out select="$learning/@seq_no" /></span></td>
				<td><input id="name_[${flag}${index}]" value="<x:out select="$learning/name"/>"label="姓名" name="learnings/learning[${flag}${index}]/name" maxlength="100" class="required input_text" style="width: 90%" /></td>
				<td><input id="post_[${flag}${index}]" value="<x:out select="$learning/post"/>"label="委员会职务" name="learnings/learning[${flag}${index}]/post" maxlength="100" class="required input_text" style="width: 90%" /></td>
				<td>
				  <c:set var="prof">{'id':'<x:out select="$learning/prof_title_value" />','name':'<x:out select="$learning/prof_title_name" />'}</c:set>
			       <cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="${prof}" label="职称"  width="65%"
			       id="prof_title_${flag}${index}xs" name="prof_title1" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
				  <input type="hidden" name="learnings/learning[${flag}${index}]/prof_title_value" class="required" label="职称" value="<x:out select="$learning/prof_title_value" />"/>
			      <input type="hidden" name="learnings/learning[${flag}${index}]/prof_title_name" value="<x:out select="$learning/prof_title_name" />"/>
				</td>
				<td><input id="company_[${flag}${index}]"value="<x:out select="$learning/company"/>"label="所在单位" name="learnings/learning[${flag}${index}]/company" class="required input_text" maxlength="100" style="width: 90%;" /></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("learning");
		</script>
	</tbody>
</table>
<table width="100%" align="center">
	<tr>
		<td>
		<input class="button" name="cmdAddbefore" type=button
			value="添加"
			onclick="if(checkTabLimit('learning','99','最多只能添加99条学术委员会成员信息')){addNewRow('learning');showDateTag('learning');}try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('learning','selfund_learning')"> 
			<input class="button" name="cmdMoveNext" type=button value="下移"onclick="moveNext('learning','selfund_learning')"> 
			<input class="button" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('learning','学术委员会成员信息');"></td>
	</tr>
</table>
